#include <stdio.h>

/* print Celsius-Fahrenheit table
    for cel = 0, 20, ..., 300; floating-point version */

main()
{
	float fahr, cels;
	int lower, upper, step;

	lower = 0;	/* lower limit of temperature table */
	upper = 300;	/* upper limit */
	step = 20;	/* step size */

	printf("%3s %6s\n", "Cel", "Fah");

	cels = lower;
	while (cels <= upper) {
		fahr = (9.0/5.0) * cels+32.0;
		printf("%3.0f %6.1f\n", cels, fahr);
		cels = cels + step;
	}
}
